﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain.RBAC
{
	/// <summary>
	/// 用户角色关联表
	/// </summary>
	[Table("UserRole")]
	public class UserRole:BaseData
	{
		/// <summary>
		/// 用户角色Id
		/// </summary>
        [Key]
        public int URId { get; set; }
		/// <summary>
		/// 用户Id
		/// </summary>
        public int UserId { get; set; }
		/// <summary>
		/// 角色Id
		/// </summary>
        public int RoleId { get; set; }
    }
}
